package com.csnf.entity;

import java.util.List;

public class Cla {
    private Integer cId;
    private String cName;
    private List<Students> students;

    public List<Students> getStudents() {
        return students;
    }

    public void setStudents(List<Students> students) {
        this.students = students;
    }


    public Cla(Integer cId, String cName, List<Students> students) {
        this.cId = cId;
        this.cName = cName;
        this.students = students;
    }

    @Override
    public String toString() {
        return "Cla{" +
                "cId=" + cId +
                ", cName='" + cName + '\'' +
                ", students=" + students +
                '}';
    }

    public Integer getcId() {
        return cId;
    }

    public void setcId(Integer cId) {
        this.cId = cId;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public Cla() {
    }
}
